package com.hospital.hms.dao;

import com.hospital.hms.pojo.MedicalDeptSub;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Mapper
public interface MedicalDeptSubDao {
    public ArrayList<HashMap> selectConditionByPage(Map map);

    public long selectConditionByPageCount(Map param);

    public void insert(MedicalDeptSub medicalDeptSub);

    public HashMap selectById(int id);

    public void update(MedicalDeptSub medicalDeptSub);

    public long selectIncludeDoctorCount(Integer[] ids);

    public void deleteByIds(Integer[] ids);

    public ArrayList<HashMap> selectMedicalDeptSubList(int deptId);
}
